package com.yanqu.road.server.cmd.cross.config;

import com.yanqu.road.server.command.Cmd;
import com.yanqu.road.server.command.Command;
import com.yanqu.road.server.manger.CrossServerGroupMgr;
import com.yanqu.road.message.YanQuMessage;
import com.yanqu.road.server.protocol.Protocol;
import io.netty.channel.ChannelHandlerContext;

@Cmd(code = Protocol.S_CROSS_SERVER_GROUP_RELOAD_NOTIFY_NEW, desc = "跨服分组reload通知")
public class ServerGroupReloadNotifyNewCmd implements Command {


	@Override
	public void execute(ChannelHandlerContext ctx, YanQuMessage packet) throws Exception {
		CrossServerGroupMgr.reloadServerGroup();
	}

}
